Watch the Gilmourish online guitar lesson by Jeff McErlain from Soloing the Changes
My framework here is minor B pentatonic, B-D-E-F#-A. I'd recommend just jamming over the progression and have fun. By its nature, it'll sound Pink Floyd-ish. Experiment with the blues scale as well.
In the Bm pentatonic scale alone we have some cool bend options you should definitely give some serious time to. Between the root and b3 is a minor 3rd (1 1/2 steps), B to D. The other minor 3rd is between the 5th and b7, F# to A. These two bends are often overlooked when using the pentatonic scale, but not by Gilmour.